package com.soft.base.enums;
/**
 * class
 *
 * @author user
 * @date 2020/06/05
 */
public enum OrderEnum implements ValueNameEnum<String> {

    /**
     *
     */
    ASC("ASC", "正序"),
    /**
     *
     */
    DESC("DESC", "倒序");

    private String value;
    private String name;

    OrderEnum(String value, String name) {
        this.value = value;
        this.name = name;
    }

    @Override
    public String getValue() {
        return value;
    }

    @Override
    public String getName() {
        return name;
    }
}
